package com.huopaolan.yohuoshop.Mvp.Model;

import com.huopaolan.lib_core.Http.MResponseManager;
import com.huopaolan.lib_core.Mvp.Model.BaseModel;
import com.huopaolan.yohuoshop.Bean.ShoppingTrolleyEntity;
import com.huopaolan.yohuoshop.Mvp.Contract.ShoppingTrolleyContract;
import com.huopaolan.yohuoshop.NetWork.API;

import javax.inject.Inject;

import io.reactivex.Observable;

public class ShoppingTrolleyModel extends BaseModel implements ShoppingTrolleyContract.ShoppingTrolleyIModel {
    @Inject
    public ShoppingTrolleyModel() {}

    @Override
    public Observable<ShoppingTrolleyEntity> shoppingTrolley_request(String request) {
        return MResponseManager.obtainRetrofit(API.class).car_list_request(request);
    }

    @Override
    public void destroy() {

    }
}
